<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh')}
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover" width="100%">

                    </table>

                </div>
            </div>

        </div>
    </div>
</div>

<script id="customformtpl" type="text/html">
    <!--form表单必须添加form-commsearch这个类-->
    <form action="" class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap">
        <fieldset>
                <div class="row">
                    <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                        <label for="statics_time" class="control-label col-xs-4">统计时间区间</label>
                        <div class="col-xs-8">
                            <input type="hidden" class="form-control operate" name="statics_time-operate" data-name="statics_time" value="RANGE" readonly="">
                            <input type="text" class="form-control datetimerange" name="statics_time" placeholder="" id="statics_time" value="{$starttime} - {$endtime}">
                        </div>
                    </div>
                    <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                        <label for="store_id" class="control-label col-xs-4">教室</label>
                        <div class="col-xs-8">
                            <input type="hidden" class="form-control operate" name="store_id-operate" data-name="store_id" value="=" readonly="">
                            <select class="form-control" name="store_id" id="store_id">
                                <option value="">全部</option>
                                {foreach $stores as $item}
                                <option value="{$item['id']}">{$item['store_name']}</option>
                                {/foreach}
                            </select>
                        </div>
                    </div>
                    <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                        <label for="re_status" class="control-label col-xs-4">预约状态</label>
                        <div class="col-xs-8">
                            <input type="hidden" class="form-control operate" name="re_status-operate" data-name="re_status" value="=" readonly="">
                            <select class="form-control" name="re_status" id="re_status">
                                <option value="">不限</option>
                                <option value="1">成功预约</option>
                                <option value="2">退订</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                        <div class="col-sm-8 col-xs-offset-4">
                            <button type="submit" class="btn btn-success" formnovalidate="">提交</button>
                            <button type="reset" class="btn btn-default">重置</button>
                        </div>
                    </div>
                </div>
        </fieldset>
    </form>
</script>
